package ace.j2se.l3;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

/**
 *@author Aceguan
 *@description  TODO
 *@date 2012-2-20 上午12:08:28
 *@version v1.0
 */
public class MapUtil {
	public static void main(String[] args) {
		Map map=new HashMap();
		map.put("a", "b");
		for(Iterator it=map.keySet().iterator();it.hasNext();){
			Object key=it.next();
			System.out.println(key);
			System.out.println(map.get(key));
		}
	}
}
